import Vue from 'vue'
import Router from 'vue-router'
import Qrlogin from '@/pages/qrlogin/Qrlogin'
import LoanApply from '@/pages/loan_apply/LoanApply'
import LoanInfo from '@/pages/loan_info/LoanInfo'
import LoanAsset from '@/pages/loan_asset/LoanAsset'
import LoanAuth from '@/pages/loan_auth/LoanAuth'
import LoanRealname from '@/pages/loan_realname/LoanRealname'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Qrlogin',
      component: Qrlogin
    },
    {
      path: '/LoanApply',
      name: 'LoanApply',
      component: LoanApply
    },
    {
      path: '/LoanInfo',
      name: 'LoanInfo',
      component: LoanInfo
    },
    {
      path: '/LoanAsset',
      name: 'LoanAsset',
      component: LoanAsset
    },
    {
      path: '/LoanAuth',
      name: 'LoanAuth',
      component: LoanAuth
    },
    {
      path: '/LoanRealname',
      name: 'LoanRealname',
      component: LoanRealname
    }
  ]
})
